home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr34 / jam125sw.zip / JPROTECT.DOC < prev    next >
Text File  |  1995-03-10  |  10KB  |  229 lines

  1.  
  2.  
  3.                 JPROTECT (tm)  A File Protection Driver
  4.               -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  5.  
  6.                       JAM Utilities, Version 1.25
  7.  
  8.                    Copyright (c) 1995 JAM Software.
  9.                          All Rights Reserved.
  10.  
  11.  
  12.    JPROTECT (tm) driver and this documentation is distributed under
  13.    license from  its developer,  Compact Soft group,  Kiev, UKRAINE.
  14.    Portions Copyright 1990-1995 Compact Soft.  All Rights Reserved.
  15.    E-mail: compact.soft@UA.net, compact.soft@cs.kiev.ua.
  16.  
  17.    The usage and distribution policy of the driver and documentation
  18.    is determined by terms specified by JAM Software license agreement.
  19.    Please refer to files README.DOC and REGISTER.DOC for details.
  20.  
  21.  
  22.  
  23.                                                                  Page 1
  24.                                CONTENTS
  25.                              ============
  26.  
  27.    1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
  28.    2. Installation . . . . . . . . . . . . . . . . . . . . . . . . 4
  29.    3. Usage Notes  . . . . . . . . . . . . . . . . . . . . . . . . 5
  30.    4. Compatibility. . . . . . . . . . . . . . . . . . . . . . . . 7
  31.    5. Messages . . . . . . . . . . . . . . . . . . . . . . . . . . 8
  32.  
  33.  
  34.  
  35.                                                                  Page 2
  36.                             1. Introduction
  37.                            -----------------
  38.  
  39.     The JPROTECT utility is file-level protection driver. It allows you
  40. to selectively protect your files from modification. For instance, with
  41. JPROTECT you can block-up possible damages of compressed data in JAM
  42. files, and protect your executable files from virus infections.  To use
  43. it correctly, please read the following installation and usage notes.
  44.  
  45.     The driver can act as an effective virus-protection tool, as well as
  46. general file security utility.  It does not, however, eliminate the
  47. need for other virus-specific programs, such as scanners, watchers and
  48. disinfectors.  Please use them to increase your system's protection.
  49.  
  50.     First, some words about plain DOS file protection. Each file has
  51. set of attributes, which specify how some operations with this file are
  52. performed. Specifically, the Read-Only file attribute disallows the
  53. modification and deletion of file by any program.  This looks like
  54. promising way to ensure the integrity of your files:  just set all
  55. vital system and executable files to read-only, and no one can modify
  56. them.
  57.  
  58.     Unfortunately, DOS allows for easy change of read-only attribute
  59. with specific system function. Therefore, any sophisticated virus can
  60. reset the attribute, and then write to the previously protected program
  61. file, implanting itself into it.
  62.  
  63.     The JPROTECT utility changes this. When installed, it enhances the
  64. way how DOS treats read-only attribute of files: now, it can only be
  65. set once, and cannot be removed.  You can easily set all your
  66. executable files to read-only (use DOS ATTRIB command, for example),
  67. and they would be safely protected from viruses.  Actually, you would
  68. hear an audible warning sound when a program tries to remove the
  69. protection.
  70.  
  71.     What if you need to do something with this files?  For example, you
  72. may want to remove some previously protected program, or run
  73. (virus-free) installation utility which modifies the executable code
  74. (poor practice), or want to upgrade to new version of software.  In
  75. this case, you can temporarily disable JPROTECT by pressing a hot key
  76. combination (see below).
  77.  
  78.  
  79.                                                                  Page 3
  80.  
  81.     Please note that JPROTECT itself does not offer absolute virus
  82. protection. Thus, some viruses bypass standard DOS interface and use
  83. direct disk access (either DOS Interrupt #26 or BIOS Interrupt #13) to
  84. modyfy files. To minimize risk of infection by these viruses you can
  85. store your programs on the JAM compressed drives (they have non-stadard
  86. structure and cannot be modified directly). You should also beware of
  87. "trojan horse" programs and boot-sector viruses (for the latter case
  88. you may use the Compact Soft's AVB program). Also, JPROTECT would warn
  89. you when virus would attack your computer, but does not delete it from
  90. already infected programs - you should use virus scanners for that.
  91. You may receive false alarms, and should be able to distinguish them.
  92.  
  93.  
  94.  
  95.                                                                  Page 4
  96.                             2. Installation
  97.                            -----------------
  98.  
  99.     To install JPROTECT, put the following line into the beginning of
  100. your CONFIG.SYS file:
  101.  
  102.         DEVICE=[drive:][\][path\]JPROTECT.SYS
  103.  
  104. The [drive:][\][path\] parameter specifies the location of the
  105. JPROTECT.SYS file.
  106.  
  107.     To ensure proper and safe operation of the JPROTECT.SYS, you should
  108. load it as early as possible.  If you install it too late, or use some
  109. non-supported DOS version, it would display corresponding messages.
  110.  
  111.     The driver uses about 512 bytes of conventional memory. You can
  112. save the low memory space by loading the driver high using DEVICEHIGH=
  113. (or DR-DOS's HIDEVICE=) commands.  To do so, you should load your
  114. memory manager first.
  115.  
  116.     In rare cases, when you want a "clean" environment, you can
  117. suppress loading of JPROTECT by depressing and holding the left "Alt"
  118. key. The driver would stop and ask you, do you want to abort
  119. installation. Press Esc to abort, or any other key to continue.
  120.  
  121.  
  122.  
  123.                                                                  Page 5
  124.                             3. Usage Notes
  125.                            ----------------
  126.  
  127.     When loaded, the driver tracks all DOS calls which change file
  128. attributes.  If the program attempts to clear read-only attribute of
  129. read-only file, it issues a alarm sound and returns error to the
  130. program.  Try this by using the following DOS commands:
  131.  
  132.         attrib +r c:\command.com
  133.         attrib -r c:\command.com
  134.  
  135. (You can substitute any executable program file instead of
  136. c:\command.com.)  You would hear alert sound after entering second
  137. command (assuming JPROTECT is installed).  Now, enter this command:
  138.  
  139.         dir /t /a c:\command.com
  140.  
  141. You would see that read-only attribute remains set.
  142.  
  143.     Now we suggest that you would protect all your vital executable
  144. files, by commands similar to:
  145.  
  146.         attrib +r c:\dos\*.exe
  147.         attrib +r c:\dos\*.com
  148.  
  149. (substitute other executable file directories here).  After that,
  150. JPROTECT would not allow alter or delete any of these files.  If you
  151. would hear the alarm sound during program startup, or in any other case
  152. when you do not explicitly work with your protected programs (other
  153. than running them), that could mean you have one of your programs
  154. infected and loaded, and virus is active in memory, trying to infect
  155. the protected programs. If so, check what you have done, and try to
  156. find the infected program by virus scanner (probably, it would be one
  157. of that new, recently-installed programs).
  158.  
  159.  
  160.                                                                  Page 6
  161.  
  162.     Sometimes, you want to disable protection to allow some operations
  163. with read-only files.  In this case, you should press a hot key to
  164. switch protection off:
  165.  
  166.                            ,------.   ,---.
  167.                            | Ctrl | + | ~ |
  168.                            `------'   `---'
  169.  
  170.     You would hear a low frequency beep.  Press this key combination
  171. once more, and other, high-frequency beep would tell you that
  172. protection is back again.
  173.  
  174.  
  175.                                                                  Page 7
  176.                           4. Compatibility
  177.                          ------------------
  178.  
  179.     The JPROTECT utility has been tested and used with many popular
  180. programs, and with most (if not all) DOS versions.  However, there are
  181. conflicts which cannot be resolved easily.  Some programs do not work
  182. if they are read-only (specifically, some programs that use overlays
  183. stored in themselves, configuration programs that write to other
  184. programs they configure, or self-modifying programs).  In these cases,
  185. most often it is sufficient just not protect that one program in
  186. question.  But do not forget to protect system files, COMMAND.COM (or
  187. other command processor you use), and frequently-used programs (program
  188. shells, utilities, file managers, etc).
  189.  
  190.     Some programs (task swappers, for example) do not work when
  191. JPROTECT is active.  In this case, you should just disable protection
  192. temporarily when you run them (by pressing the hotkey).  Do not forget
  193. to restore it afterwards!
  194.  
  195.  
  196.                                                                  Page 8
  197.                              5. Messages
  198.                             -------------
  199.  
  200.     Most messages from JPROTECT are self-explanatory.  Here is a list
  201. of them:
  202.  
  203.  
  204. > Installation suspended.  Press ESC to cancel, other key to continue:
  205.  
  206.         - JPROTECT waits for you to confirm driver installation.
  207.  
  208.  
  209. > Installation aborted from keyboard.
  210.  
  211.         - JPROTECT was not installed due to user request.
  212.         No protection is active.
  213.  
  214.  
  215. * To toggle protection state press: <HOTKEY>
  216.  
  217.         - JPROTECT driver successfully installed. Use shown hotkey to
  218.         switch protection on and off.
  219.  
  220. > Cannot enable protection. Either you've installed some other drivers
  221.   before JPROTECT, or you're running JPROTECT on incompatible DOS version
  222.  
  223.         - Either you have some driver intercepting DOS functions loaded
  224.         earlier in CONFIG.SYS, or your DOS version was not supported.
  225.         Try to load JPROTECT.SYS as very first driver.  If this does
  226.         not help, please contact us for upgrade information.
  227.  
  228.  
  229.